package gov.ccswj.modules.bdbusiness.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import gov.ccswj.modules.bdbusiness.dao.BKKnowledgeGuideDao;
import gov.ccswj.modules.bdbusiness.entity.BKKnowledgeGuideEntity;
import gov.ccswj.modules.bdbusiness.service.BKKnowledgeGuideService;



@Service("bKKnowledgeGuideService")
public class BKKnowledgeGuideServiceImpl implements BKKnowledgeGuideService {
	@Autowired
	private BKKnowledgeGuideDao bKKnowledgeGuideDao;
	
	@Override
	public BKKnowledgeGuideEntity queryObject(Integer id){
		return bKKnowledgeGuideDao.queryObject(id);
	}
	
	@Override
	public List<BKKnowledgeGuideEntity> queryList(Map<String, Object> map){
		return bKKnowledgeGuideDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return bKKnowledgeGuideDao.queryTotal(map);
	}
	
	@Override
	public void save(BKKnowledgeGuideEntity bKKnowledgeGuide){
		bKKnowledgeGuideDao.save(bKKnowledgeGuide);
	}
	
	@Override
	public void update(BKKnowledgeGuideEntity bKKnowledgeGuide){
		bKKnowledgeGuideDao.update(bKKnowledgeGuide);
	}
	
	@Override
	public void delete(Integer id){
		bKKnowledgeGuideDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		bKKnowledgeGuideDao.deleteBatch(ids);
	}
	
}
